// Program: ext2
// Description: Provides an interface for mounting an ext2-formatted device
//              into the filesystem.
//

//
// main.cc -- Defines the main startup routine, and runloop.
//

#include "../udev/UdevFilesystem_IF.h"
#include <jimix/FileDescriptor.h>
#include <jimix/resource.h>
#include "Ext2Filesystem.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>

extern "C" void yield();

int main(char argc, char **argv)
{

  Ext2Filesystem *fs = new Ext2Filesystem();
  
  fs->mount("/dev/hda1", "/mnt");
  
  for(;;)
  {
    yield();
  }
}
